{extend name="public/common"}
{block name="body"}
<title>基本设置</title>
</head>
<style type="text/css">
	.bg-1 {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
}
 .radius:hover{
 	background:#e5e5e5;
 	border-color: #e5e5e5;
 	color: #333;
 }
 span:hover{
 	color: #333;
 }
 .page-container {
     padding: 0px; 
}
.tabBar{
	height: 40px;
	background-color: #e5e5e5;
	border-bottom: 1px solid #e4e7ed;
}
.tabBar span{
	height: 40px;
    line-height: 40px;
}
 .radius:hover{
 	color: #fff;
	border-color: #66b1ff;
	background-color: #66b1ff;
 }
 span:hover{
 	color: #333;
 }
 .btn-primary {
    color: #fff;
    background-color: #5a98de;
    border-color: #5a98de;
    height: 31px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 24px !important;
}
</style>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 
	系统管理
	<span class="c-gray en">&gt;</span>
	运营管理
	<span class="c-gray en">&gt;</span>
	电脑版广告
	<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>

<div style="padding:20px;height:30px;">
  	
  	<div class="new_box">
<div class="page-container">
	<form  action="/admin/Operate/AddPcAdvertising"
				enctype="multipart/form-data" method="post" class="form form-horizontal" id="form-article-add">
		<div id="tab-system" class="HuiTab">
			<div class="tabBar cl">
				<span>轮播广告</span>
				<span>对联广告</span>
			</div>
				<div class="tabCon">
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							当前轮播图片一：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text" name="lunbo1" value="{$lunbo[0]['gg_img']}" id="website-title" class="input-text">
						</div>

					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							新上传图片:
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="file" name="file_1" class="input-text">
							<p style="color: #a4a4a4;">推荐尺寸：227 * 68</p>
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							广告链接：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text" name="lunbo_url1" value="{$lunbo[0]['gg_url']}" class="input-text">
						</div>
					</div>
				
				    <div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							当前轮播图片二：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text" name="lunbo2" value="{$lunbo[1]['gg_img']}" id="website-title" class="input-text">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							新上传图片:
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="file" name="file_2" class="input-text">
							<p style="color: #a4a4a4;">推荐尺寸：227 * 68</p>
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							广告链接：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text"  name="lunbo_url2" value="{$lunbo[1]['gg_url']}" class="input-text">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							当前轮播图片三：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text" name="lunbo3" value="{$lunbo[2]['gg_img']}" id="website-title" class="input-text">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							新上传图片:
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="file" name="file_3" class="input-text">
							<p style="color: #a4a4a4;">推荐尺寸：227 * 68</p>
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							广告链接：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text"  name="lunbo_url3" value="{$lunbo[2]['gg_url']}" class="input-text">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							当前轮播图片四：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text" name="lunbo4" value="{$lunbo[3]['gg_img']}" id="website-title" class="input-text">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							新上传图片:
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="file" name="file_4" class="input-text">
							<p style="color: #a4a4a4;">推荐尺寸：227 * 68</p>
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							广告链接：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text"  name="lunbo_url4" value="{$lunbo[3]['gg_url']}" class="input-text">
						</div>
					</div>
			</div>
			<div class="tabCon">
				 <div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							左边对联：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text" name="lunbo5" value="{$lunbo[4]['gg_img']}" id="website-title" class="input-text">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							新上传图片:
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="file" name="file_5" class="input-text">
							<p style="color: #a4a4a4;">推荐尺寸：117 * 116</p>
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							广告链接：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text"  name="lunbo_url5" value="{$lunbo[4]['gg_url']}" class="input-text">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							右边对联：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text" name="lunbo6" value="{$lunbo[5]['gg_img']}" id="website-title" class="input-text">
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							新上传图片:
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="file" name="file_6" class="input-text">
							<p style="color: #a4a4a4;">推荐尺寸：117 * 116</p>
						</div>
					</div>
					<div class="row cl">
						<label class="form-label col-xs-4 col-sm-2">
							
							广告链接：
						</label>
						<div class="formControls col-xs-8 col-sm-9">
							<input type="text"  name="lunbo_url6" value="{$lunbo[5]['gg_url']}" class="input-text">
						</div>
					</div>
			</div>
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
				<button class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存</button>
			</div>
		</div>
	</form>
			
		</div>
		
		</div>
		</div>
		
{/block}
{block name="js"}
	<script type="text/javascript">
	$(function(){
		$('.skin-minimal input').iCheck({
			checkboxClass: 'icheckbox-blue',
			radioClass: 'iradio-blue',
			increaseArea: '20%'
		});
		$("#tab-system").Huitab({
			index:0
		});
	});
</script>
{/block}
